﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Domain.AGVModels
{
    /// <summary>
    /// 接口返回
    /// </summary>
    public class ResultRespone
    {
        /// <summary>
        /// Code
        /// </summary>
        public string code
        {
            get; set;
        } = "0";
        /// <summary>
        /// 信息
        /// </summary>
        public string message
        {
            get; set;
        } = "成功";
        /// <summary>
        /// 请求code
        /// </summary>
        public string reqCode
        {
            get; set;
        }
    }
    /// <summary>
    /// 接口返回
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ResultRespone<T> : ResultRespone
    {
        /// <summary>
        /// data
        /// </summary>
        public T data
        {
            get; set;
        }
    }
}
